const webpack = require('webpack')
module.exports = {
  publicPath: '/',
  devServer: {
    port: 8082,
    // 所有通过'api'调用的请求都会转发到'http://localhost:8081/'下面
    disableHostCheck: true
  },
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        $: 'jquery',
        jQuery: 'jquery',
        'window.jQuery': 'jquery',
        Popper: ['poper.js', 'default']
      })
    ]
  }
}
